Method and system for downloading resource in mobile environment

ABSTRACT

A method of downloading a resource in a mobile environment includes detecting an attempt to access at least one server from a mobile terminal, executing a thread for each server to which the attempt to access is made, based on a multi-thread, downloading a resource of the at least one server through the corresponding thread, the resource being compressed based on a file unit, and unpacking the compressed resource, in which the threads are executed in parallel in the order of servers to which the attempt to access is made.

CROSS-REFERENCE TO RELATED APPLICATION

This application claims priority from and the benefit of Korean PatentApplication No. 10-2015-0113695, filed on Aug. 12, 2015, which is herebyincorporated by reference for all purposes as if fully set forth herein.

BACKGROUND Field

Exemplary embodiments relate to a system and a method for enhancing adownload rate in a mobile environment.

Discussion of the Background

FIG. 1 is a diagram illustrating an operation of a resource downloadsystem according to the related art.

In general, a resource download system may download a resource through asingle-thread 100 to achieve a fast download speed. For example, theresource download system may download a resource by accessing a serverbased on the single-thread 100. Once downloading of the resource iscompleted, the resource download system may record the downloadedresource in a storage device.

However, when downloading multiple resources based on a single-thread,the conventional resource download system may download a second resourcewhen downloading the first resource is completed. Also, when a resourceis downloaded based on the single-thread, the conventional resourcedownload system may inefficiently use network resources due to a standbytime used to access a server, a request response time after the access,a file recording time, and the like.

The above information disclosed in this Background section is only forenhancement of understanding of the background of the inventive concept,and, therefore, it may contain information that does not form the priorart that is already known in this country to a person of ordinary skillin the art.

SUMMARY

Exemplary embodiments provide a resource download system and a method ofproviding an improved download scheme in a mobile environment based on amulti-thread.

Exemplary embodiments also provide a resource download system and amethod of providing a scheme for enhancing a resource download rate at amobile terminal, such that users may be retained.

Additional aspects will be set forth in the detailed description whichfollows, and, in part, will be apparent from the disclosure, or may belearned by practice of the inventive concept.

According to an exemplary embodiment of the present invention, a methodof downloading a resource in a mobile environment includes detecting anattempt to access at least one server from a mobile terminal, executinga thread for each server to which the attempt to access is made, basedon a multi-thread, downloading a resource of the at least one serverthrough the corresponding thread, the resource being compressed based ona file unit, and unpacking the compressed resource, in which the threadsare executed in parallel in the order of servers to which the attempt toaccess is made.

According to an exemplary embodiment of the present invention, anon-transitory computer-readable recording medium includingcomputer-readable instructions to control a computer system to downloada resource in a mobile environment, in which the computer-readableinstructions control the computer system by a method including detectingan attempt to access at least one server from a mobile terminal,executing a thread for each server to which the attempt to access ismade, based on a multi-thread, downloading a resource of the at leastone server through the corresponding thread, the resource beingcompressed based on a filed unit and unpacking the compressed resource,in which the threads are executed in parallel in the order of servers towhich the attempt to access is made.

According to an exemplary embodiment of the present invention, a systemfor downloading a resource in a mobile environment includes a detectorconfigured to detect an attempt to access at least one server from amobile terminal, an executor configured to execute a thread for eachserver to which the attempt to access is made, and a downloaderconfigured to download a resource of the at least one server through thecorresponding thread, and to unpack the resource that is compressedbased on a file unit, in which the threads are executed in parallel inthe order of servers to which the attempt to access is made.

The foregoing general description and the following detailed descriptionare exemplary and explanatory and are intended to provide furtherexplanation of the claimed subject matter.

BRIEF DESCRIPTION OF THE DRAWINGS

The accompanying drawings, which are included to provide a furtherunderstanding of the inventive concept, and are incorporated in andconstitute a part of this specification, illustrate exemplaryembodiments of the inventive concept, and, together with thedescription, serve to explain principles of the inventive concept.

FIG. 1 is a diagram illustrating an operation of a resource downloadsystem according to the related art.

FIG. 2 is a diagram illustrating an operation of a resource downloadsystem according to an exemplary embodiment of the present invention.

FIG. 3 is a diagram illustrating a configuration of a resource downloadsystem according to an exemplary embodiment of the present invention.

FIG. 4 is a block diagram illustrating a configuration of a resourcedownload system according to an exemplary embodiment of the presentinvention.

FIG. 5 is a diagram illustrating an operation of a resource downloadsystem according to an exemplary embodiment of the present invention.

FIG. 6 is a flowchart illustrating a resource download method performedat a resource download system according to an exemplary embodiment ofthe present invention.

It should be noted that these figures are intended to illustrate thegeneral characteristics of methods and/or structure utilized in certainexemplary embodiments and to supplement the written description providedbelow. These drawings are not, however, to scale and may not preciselyreflect the precise structural or performance characteristics of anygiven embodiment, and should not be interpreted as defining or limitingthe range of values or properties encompassed by exemplary embodiments.

DETAILED DESCRIPTION OF THE ILLUSTRATED EMBODIMENTS

In the following description, for the purposes of explanation, numerousspecific details are set forth in order to provide a thoroughunderstanding of various exemplary embodiments. It is apparent, however,that various exemplary embodiments may be practiced without thesespecific details or with one or more equivalent arrangements. In otherinstances, well-known structures and devices are shown in block diagramform in order to avoid unnecessarily obscuring various exemplaryembodiments.

In the accompanying figures, the size and relative sizes of elelayers,films, panels, regions, etc., may be exaggerated for clarity anddescriptive purposes. Also, like reference numerals denote likeelements.

When an element or layer is referred to as being “on,” “connected to,”or “coupled to” another element or layer, it may be directly on,connected to, or coupled to the other element or layer or interveningelements or layers may be present. When, however, an element or layer isreferred to as being “directly on,” “directly connected to,” or“directly coupled to” another element or layer, there are no interveningelements or layers present. For the purposes of this disclosure, “atleast one of X, Y, and Z” and “at least one selected from the groupconsisting of X, Y, and Z” may be construed as X only, Y only, Z only,or any combination of two or more of X, Y, and Z, such as, for instance,XYZ, XYY, YZ, and ZZ. Like numbers refer to like elements throughout. Asused herein, the term “and/or” includes any and all combinations of oneor more of the associated listed items.

Although the terms first, second, etc. may be used herein to describevarious elements, components, regions, layers, and/or sections, theseelements, components, regions, layers, and/or sections should not belimited by these terms. These terms are used to distinguish one element,component, region, layer, and/or section from another element,component, region, layer, and/or section. Thus, a first element,component, region, layer, and/or section discussed below could be termeda second element, component, region, layer, and/or section withoutdeparting from the teachings of the present disclosure.

Spatially relative terms, such as “beneath,” “below,” “lower,” “above,”“upper,” and the like, may be used herein for descriptive purposes, and,thereby, to describe one element or feature's relationship to anotherelement(s) or feature(s) as illustrated in the drawings. Spatiallyrelative terms are intended to encompass different orientations of anapparatus in use, operation, and/or manufacture in addition to theorientation depicted in the drawings. For example, if the apparatus inthe drawings is turned over, elements described as “below” or “beneath”other elements or features would then be oriented “above” the otherelements or features. Thus, the exemplary term “below” can encompassboth an orientation of above and below. Furthermore, the apparatus maybe otherwise oriented (e.g., rotated 90 degrees or at otherorientations), and, as such, the spatially relative descriptors usedherein interpreted accordingly.

The terminology used herein is for the purpose of describing particularembodiments and is not intended to be limiting. As used herein, thesingular forms, “a,” “an,” and “the” are intended to include the pluralforms as well, unless the context clearly indicates otherwise. Moreover,the terms “comprises,” “comprising,” “includes,” and/or “including,”when used in this specification, specify the presence of statedfeatures, integers, steps, operations, elements, components, and/orgroups thereof, but do not preclude the presence or addition of one ormore other features, integers, steps, operations, elements, components,and/or groups thereof.

Unless otherwise defined, all terms (including technical and scientificterms) used herein have the same meaning as commonly understood by oneof ordinary skill in the art to which this disclosure is a part. Terms,such as those defined in commonly used dictionaries, should beinterpreted as having a meaning that is consistent with their meaning inthe context of the relevant art and will not be interpreted in anidealized or overly formal sense, unless expressly so defined herein.

Exemplary embodiments may be described with reference to acts andsymbolic representations of operations (e.g., in the form of flowcharts, flow diagrams, data flow diagrams, structure diagrams, blockdiagrams, etc.) that may be implemented in conjunction with units and/ordevices discussed in more detail below. Although discussed in aparticularly manner, a function or operation specified in a specificblock may be performed differently from the flow specified in aflowchart, flow diagram, etc. For example, functions or operationsillustrated as being performed serially in two consecutive blocks mayactually be performed simultaneously, or in some cases be performed inreverse order.

Units and/or devices according to one or more exemplary embodiments maybe implemented using hardware, software, and/or a combination thereof.For example, hardware devices may be implemented using processingcircuity such as, but not limited to, a processor, Central ProcessingUnit (CPU), a controller, an arithmetic logic unit (ALU), a digitalsignal processor, a microcomputer, a field programmable gate array(FPGA), a System-on-Chip (SoC), a programmable logic unit, amicroprocessor, or any other device capable of responding to andexecuting instructions in a defined manner.

Software may include a computer program, program code, instructions, orsome combination thereof, for independently or collectively instructingor configuring a hardware device to operate as desired. The computerprogram and/or program code may include program or computer-readableinstructions, software components, software modules, data files, datastructures, and/or the like, capable of being implemented by one or morehardware devices, such as one or more of the hardware devices mentionedabove. Examples of program code include both machine code produced by acompiler and higher level program code that is executed using aninterpreter.

For example, when a hardware device is a computer processing device(e.g., a processor, Central Processing Unit (CPU), a controller, anarithmetic logic unit (ALU), a digital signal processor, amicrocomputer, a microprocessor, etc.), the computer processing devicemay be configured to carry out program code by performing arithmetical,logical, and input/output operations, according to the program code.Once the program code is loaded into a computer processing device, thecomputer processing device may be programmed to perform the programcode, thereby transforming the computer processing device into a specialpurpose computer processing device. In a more specific example, when theprogram code is loaded into a processor, the processor becomesprogrammed to perform the program code and operations correspondingthereto, thereby transforming the processor into a special purposeprocessor.

Software and/or data may be embodied permanently or temporarily in anytype of machine, component, physical or virtual equipment, or computerstorage medium or device, capable of providing instructions or data to,or being interpreted by, a hardware device. The software also may bedistributed over network coupled computer systems so that the softwareis stored and executed in a distributed fashion. In particular, forexample, software and data may be stored by one or more computerreadable recording mediums, including the tangible or non-transitorycomputer-readable storage media discussed herein.

According to one or more exemplary embodiments, computer processingdevices may be described as including various functional units thatperform various operations and/or functions to increase the clarity ofthe description. However, computer processing devices are not intendedto be limited to these functional units. For example, in one or moreexemplary embodiments, the various operations and/or functions of thefunctional units may be performed by other ones of the functional units.Further, the computer processing devices may perform the operationsand/or functions of the various functional units without sub-dividingthe operations and/or functions of the computer processing units intothese various functional units.

Units and/or devices according to one or more exemplary embodiments mayalso include one or more storage devices. The one or more storagedevices may be tangible or non-transitory computer-readable storagemedia, such as random access memory (RAM), read only memory (ROM), apermanent mass storage device (such as a disk drive), solid state (e.g.,NAND flash) device, and/or any other like data storage mechanism capableof storing and recording data. The one or more storage devices may beconfigured to store computer programs, program code, instructions, orsome combination thereof, for one or more operating systems and/or forimplementing the exemplary embodiments described herein. The computerprograms, program code, instructions, or some combination thereof, mayalso be loaded from a separate computer readable storage medium into theone or more storage devices and/or one or more computer processingdevices using a drive mechanism. Such separate computer readable storagemedium may include a Universal Serial Bus (USB) flash drive, a memorystick, a Blu-ray/DVD/CD-ROM drive, a memory card, and/or other likecomputer readable storage media. The computer programs, program code,instructions, or some combination thereof, may be loaded into the one ormore storage devices and/or the one or more computer processing devicesfrom a remote data storage device via a network interface, rather thanvia a local computer readable storage medium. Additionally, the computerprograms, program code, instructions, or some combination thereof, maybe loaded into the one or more storage devices and/or the one or moreprocessors from a remote computing system that is configured to transferand/or distribute the computer programs, program code, instructions, orsome combination thereof, over a network. The remote computing systemmay transfer and/or distribute the computer programs, program code,instructions, or some combination thereof, via a wired interface, an airinterface, and/or any other like medium.

The one or more hardware devices, the one or more storage devices,and/or the computer programs, program code, instructions, or somecombination thereof, may be specially designed and constructed for thepurposes of the exemplary embodiments, or they may be known devices thatare altered and/or modified for the purposes of exemplary embodiments.

A hardware device, such as a computer processing device, may run anoperating system (OS) and one or more software applications that run onthe OS. The computer processing device also may access, store,manipulate, process, and create data in response to execution of thesoftware. For simplicity, one or more exemplary embodiments may beexemplified as one computer processing device; however, one skilled inthe art will appreciate that a hardware device may include multipleprocessing elements and multiple types of processing elements. Forexample, a hardware device may include multiple processors or aprocessor and a controller. In addition, other processing configurationsare possible, such as parallel processors.

Although described with reference to specific examples and drawings,modifications, additions and substitutions of exemplary embodiments maybe variously made according to the description by those of ordinaryskill in the art. For example, the described techniques may be performedin an order different with that of the methods described, and/orcomponents such as the described system, architecture, devices, circuit,and the like, may be connected or combined to be different from theabove-described methods, or results may be appropriately achieved byother components or equivalents.

Hereinafter, exemplary embodiments will be described with reference tothe accompanying drawings.

According to exemplary embodiments of the present invention, a resourcedownload system may provide a scheme of enhancing a resource downloadrate at a mobile terminal, such that a user may be retained. Theresource download system may download a resource based on amulti-thread. The term “thread” used herein refers to an execution pathpresent in a process when executing a computer program or anapplication, and may execute multiple actions at a time or sequentially.The resource download system may execute a plurality of threads based ona multi-thread.

FIG. 2 is a diagram illustrating an operation of a resource downloadsystem according to an exemplary embodiment of the present invention.

Referring to FIG. 2, a resource download system 200 and a mobileterminal 210 may transmit and receive data via a network 220. Thenetwork 220 may include a more number or a lesser number of components,connections, and interactions than those illustrated in FIG. 2.

The network 220 may be a medium that may provide communication linksbetween data processing systems, computers, servers, and/or a variety ofdevices. The network 220 may be a world wide collection of gateways andnetworks that use transmission control protocol/Internet protocol(TCP/IP) suite of protocols. For example, the network 220 may include anintranet, a local area network (LAN), and/or a wide area network (WAN),etc., or a portion thereof. As another example, the network 220 may be aportion of the Internet.

The mobile terminal 210 may be a portable device, such as a smartphone,a tablet, a wearable computer, and the like. The mobile terminal 210 maybe any type of terminal devices capable of providing a connection to amobile site associated with the resource download system 200 and/orinstalling and executing a service exclusive application. Here, themobile terminal 210 may perform an overall service operation, such as aservice screen configuration, a data input, a datatransmission/reception, a data storage, and the like, under control ofthe mobile site or the exclusive application.

The resource download system 200 may be configured as a downloadplatform that provides a download service, and may provide anenvironment for performing downloading of a resource to a client usingthe download service, such as the mobile terminal 210.

The resource download system 200 may be included in a platform of adownload server (not shown) that provides a download service. Theresource download system may alternatively be a separate system from thedownload server, and download a resource in interaction with thedownload server.

At least a portion of constituent components of the resource downloadsystem 200 may be configured as a form of an application that isinstalled on the mobile terminal 210, or included in a platform thatprovides a service in a client-server environment.

FIG. 3 is a diagram illustrating a configuration of a resource downloadsystem according to an exemplary embodiment of the present invention.

Referring to FIG. 3, the resource download system 300 may includemodules, for example, a unity plugin 310, a platform bridge 320, and acore library 330.

The unity plugin 310 may be a plugin for unity development and may beconnected through a bridge module.

The platform bridge 320 may be a bridge module for providing aconnection to each platform, and may be written with a language suitablefor each platform. The platform bridge 320 may include, for example,Win32 Bridge, MacOs Bridge, iOS Bridge, and Android Bridge. The platformbridge 320 may write Win32 with C++, Mac and iOS with Objective C, andAndroid with Java or Jni.

The core library 330 may be a library written with C++, and may managehttp connection. The core library 330 may perform file packing andunpacking. The core library 330 may be, for example, HUL download coremodule. The resource download system according to the present exemplaryembodiment may be applicable in a mobile terminal without being limitedto a platform.

FIG. 4 is a block diagram illustrating a configuration of a resourcedownload system according to an exemplary embodiment of the presentinvention.

Referring to FIG. 4, a resource download system 400 may download aresource based on each thread by executing the respective threads inparallel in the order of servers to which an attempt to access is madefrom a mobile environment. The resource download system 400 may includea detector 410, an executor 420, and a downloader 430.

The detector 410 may detect an attempt to access at least one serverfrom a mobile terminal. The detector 410 may detect an access from themobile terminal to another server while downloading a resourcecorresponding to a server based on a thread.

The executor 420 may execute the respective threads based on amulti-thread in response to the attempt to access the server.

The downloader 430 may download a resource in a server based on eachthread, and may unpack a resource that is compressed based on a fileunit. The downloader 430 may receive the compressed resource, inresponse to a request to the server for the resource based on eachthread, and may download the compressed resource.

The downloader 430 may unpack the resource and record the unpackedresource in a storage device, in response to completing downloading ofthe compressed resource. The downloader 430 may download resourcesexecuted in the respective threads at different rates, such that athread completed with the download is preferentially entered into anidle state.

FIG. 5 is a diagram illustrating an operation of a resource downloadsystem according to an exemplary embodiment of the present invention.

Referring to FIG. 5, the resource download system may execute therespective threads in parallel in the order of servers to which anattempt to access is made, based on a multi-thread 500 in a mobileenvironment. The resource download system may download a resourceassociated with a corresponding server based on each thread. Theresource download system may download the respective resources without astandby time by distributing resources of a network based on themulti-thread 500.

The resource download system may detect an attempt to access at leastone server from a mobile terminal. For example, a user may attempt todownload a first application using a mobile terminal. The resourcedownload system may detect the attempt to access a first server from themobile terminal, and execute a first thread based on a multi-thread inresponse to the attempt to access the first server.

The resource download system may initiate downloading of a resourcecorresponding to the first server based on the first thread. Theresource download system may receive and download a resource that iscompressed based on a file unit in response to a request to the firstserver for the resource. The resource download system may receive theresource that corresponds to the first server, which is compressed basedon the file unit. The resource download system may unpack the compressedresource. Upon completing the downloading of the compressed resource,the resource download system may unpack the resource and record theunpacked resource in a storage device. This process may be repeated.

The resource download system may also detect an attempt to accessanother server from the mobile terminal at the same time duringdownloading the resource corresponding to the first server. For example,the user may attempt to download a second application while the firstapplication is being downloaded through the mobile terminal. In thiscase, the resource download system may detect the attempt to access asecond server from the mobile terminal.

In response to the attempt to access the second server, the resourcedownload system may execute a second thread based on a multi-thread. Theresource download system may execute the first and second threads inparallel in the order of serves to which an attempt to access is made,and may download a resource associated with a corresponding server basedon each thread.

The resource download system may initiate downloading of a resourcecorresponding to the second server based on the second thread. Theresource download system may receive and download a resource that iscompressed based on a file unit, in response to a request to the secondserver for the resource based on the second thread. The resourcedownload system may receive the resource that corresponds to the secondserver, which is compressed based on the file unit. The resourcedownload system may unpack the compressed resource. In response tocompleting downloading of the resource that is compressed based on thefile unit, the resource download system may unpack the resource and mayrecord the unpacked resource in the storage device.

According to an exemplary embodiment of the present invention, theresource download system may reduce (or, alternatively, minimize) theamount of time used for downloading by downloading a resource that iscompressed based on a file unit.

The resource download system may download the respective resourcesexecuted in the respective threads at different rates, such that athread completed with the download is preferentially entered into anidle state.

Likewise, the resource download system may detect an attempt to accessanother server from the mobile terminal at the same time of downloadinga resource corresponding to the second server. Here, the resourcedownload system may execute and operate multiple threads based on amulti-thread without being limited to the number of threads. Also, theresource download system may perform automatic scheduling in anoperating system (OS) of the mobile terminal.

FIG. 6 is a flowchart illustrating a resource download method performedat a resource download system according to an exemplary embodiment ofthe present invention.

The resource download method may be performed at the resource downloadsystem. The resource download system may download the respectiveresources without a standby time by distributing resources of a networkbased on a multi-thread in a mobile environment.

For example, a user may download an application through a mobileterminal 610. The resource download system may detect an attempt toaccess at least one server 620 from the mobile terminal 610. Forexample, the resource download system may download an applicationthrough an Internet data center (IDC).

The mobile terminal 610 may request the server 620 for an access andpatch information in order to download the application in operation 631.The mobile terminal 610 may receive patch file information from theserver 620 in operation 632. In operation 633, the mobile terminal 610may analyze the received patch file information.

The mobile terminal 610 may execute each thread based on a multi-threadin response to the attempt to access the server 620. For example, themobile terminal 610 may access the server 620 to download theapplication, and the mobile terminal 610 may execute a first thread(THREAD 1) in operation 630. Here, since the mobile terminal 610controls a thread in an operation system (OS), the thread may beautomatically scheduled.

The mobile terminal 610 may request the server 620 for the resourcebased on the first thread 630 in operation 634, and may receive theresource that is compressed based on a file unit from the server 620 inoperation 635. In operation 636, the mobile terminal 610 may downloadthe resource that is compressed based on the file unit. Here, the mobileterminal 610 may reduce (or, alternatively, minimize) the amount of timefor the download by downloading the compressed resource. Upon completionof downloading of the compressed resource, the mobile terminal 610 mayunpack the resource and record the unpacked resource in a storagedevice.

While downloading the application, the mobile terminal 610 may attemptto download another application from another server. In response to theattempt to access the server 620, the mobile terminal 610 may executethe respective threads based on the multi-thread. For example, themobile terminal 610 may access the server 620 to download anapplication, and may execute the second thread (THREAD 2). The resourcedownload system may execute the respective threads in parallel in theorder of servers to which an attempt to access is made, and may downloada resource associated with a corresponding server based on themulti-thread.

Since resources executed in the respective threads are downloaded atdifferent rates, the resource download system may control the threadssuch that a thread completed with the download is preferentially enteredinto an idle state.

The resource download system according to exemplary embodiments of thepresent invention may provide an improved download scheme for a mobileterminal by using a multi-thread. That is, the resource download systemmay achieve a further greater effect with the development of hardware ina mobile terminal.

The resource download system according to exemplary embodiments mayreduce the size of a resource to be downloaded by automaticallycompressing and uploading the resource based on a file unit, based on amulti-thread in a mobile environment. In addition, the resource downloadsystem may improve a downloading speed by downloading and then unpackingthe resource that is compressed based on the file unit. To this end, theresource download system may further include an uploader (not shown)configured to compress the resource based on the file unit and uploadthe compressed resource to a corresponding server. For example, a mobileterminal installed with the resource download system in an applicationform may compress a resource desired to upload to a server based on afile unit, and may upload the compressed resource to the server. Thecorresponding mobile terminal or other mobile terminals attempting todownload the resource may receive the compressed resource and thenacquire the original resource by unpacking the received compressedresource. In this manner, the amount of data to be downloaded may bereduced and a download rate may be improved based on the decreasedamount of data to be downloaded.

The resource download system according to exemplary embodiments mayreduce (or, alternatively, minimize) the amount of time for downloadinga resource and provide a download scheme utilizing a multi-thread for amobile environment, which provides an improved downloading scheme overthe conventional single-thread based download system, and therebyimprove user experience and retain users.

The resource download system according to exemplary embodiments mayeffectively use hardware of a mobile terminal using a multi-threadscheme. The resource download system may increase the effect byemploying a download scheme for a latest mobile environment.

The units described herein may be implemented using hardware components,software components, or a combination thereof. For example, a processingdevice may be implemented using one or more general-purpose or specialpurpose computers, such as, for example, a processor, a controller andan arithmetic logic unit, a digital signal processor, a microcomputer, afield programmable array, a programmable logic unit, a microprocessor orany other device capable of responding to and executing instructions ina defined manner. The processing device may run an operating system (OS)and one or more software applications that run on the OS. The processingdevice also may access, store, manipulate, process, and create data inresponse to execution of the software. For purpose of simplicity, thedescription of a processing device is used as singular; however, oneskilled in the art will appreciated that a processing device may includemultiple processing elements and multiple types of processing elements.For example, a processing device may include multiple processors or aprocessor and a controller. In addition, different processingconfigurations are possible, such as parallel processors.

The software may include a computer program, a piece of code, aninstruction, or some combination thereof, for independently orcollectively instructing or configuring the processing device to operateas desired. Software and data may be embodied permanently or temporarilyin any type of machine, component, physical or virtual equipment,computer storage medium or device, or in a propagated signal wavecapable of providing instructions or data to or being interpreted by theprocessing device. The software also may be distributed over networkcoupled computer systems so that the software is stored and executed ina distributed fashion. In particular, the software and data may bestored by one or more computer readable recording mediums.

The exemplary embodiments may be recorded in non-transitorycomputer-readable media including program instructions to implementvarious operations embodied by a computer. The media may also include,alone or in combination with the program instructions, data files, datastructures, and the like. The media and program instructions may bethose specially designed and constructed for the purposes, or they maybe of the kind well-known and available to those having skill in thecomputer software arts. Examples of non-transitory computer-readablemedia include magnetic media such as hard disks, floppy disks, andmagnetic tape; optical media such as CD ROM disks and DVD;magneto-optical media such as floptical disks; and hardware devices thatare specially to store and perform program instructions, such asread-only memory (ROM), random access memory (RAM), flash memory, andthe like. Examples of program instructions include both machine code,such as produced by a compiler, and files containing higher level codethat may be executed by the computer using an interpreter. The describedhardware devices may be to act as one or more software modules in orderto perform the operations of the above-described embodiments.

Although certain exemplary embodiments and implementations have beendescribed herein, other embodiments and modifications will be apparentfrom this description. Accordingly, the inventive concept is not limitedto such exemplary embodiments, but rather to the broader scope of thepresented claims and various obvious modifications and equivalentarrangements.

What is claimed is:
 1. A method of downloading a resource in a mobileenvironment, the method comprising: detecting a first attempt to accessa first server from a mobile terminal; executing a first thread for thefirst server to which the first attempt to access is made; downloading aresource of the first server through the first thread; detecting asecond attempt to access a second server from the mobile terminal whiledownloading the resource of the first server; executing a second threadfor the second server, based on a multithread; downloading a resource ofthe second server to which the second attempt to access is made, eachresource being compressed based on a file unit and being downloadedwithout a standby time by distributing resources of a network based onthe multi-thread; and unpacking each of the compressed resources,wherein the first and second threads are executed in parallel in theorder of servers to which the attempt to access is made, and whereineach of the first attempt and the second attempt is performed by a userof the mobile terminal at a time different from one another.
 2. Themethod of claim 1, wherein unpacking the compressed resource comprisesreceiving the compressed resource in response to a request to thecorresponding server for the resource based on the corresponding thread,and downloading the compressed resource.
 3. The method of claim 2,wherein unpacking the compressed resource comprises unpacking thecompressed source and recording the unpacked resource in a storagedevice upon completing the download of the compressed resource.
 4. Themethod of claim 2, wherein unpacking the compressed resource comprisesdownloading resources executed in the respective threads at differentrates such that a thread completed with the download is entered into anidle state.
 5. The method of claim 1, further comprising: compressingthe resource based on the file unit; and uploading the compressedresource to the corresponding server.
 6. A non-transitorycomputer-readable recording medium comprising computer-readableinstructions to control a computer system to download a resource in amobile environment, wherein the computer-readable instructions controlthe computer system by a method comprising: detecting a first attempt toaccess a first server from a mobile terminal; executing a first threadfor the first server to which the first attempt to access is made;downloading a resource of the first server through the first thread;detecting a second attempt to access a second server from the mobileterminal while downloading the resource of the first server; executing asecond thread for the second server to which the second attempt toaccess is made, based on a multi-thread; and downloading a resource ofthe second server, each resource being compressed based on a file unitand being downloaded without a standby time by distributing resources ofa network based on the multi-thread; and unpacking each of thecompressed resources, wherein the first and second threads are executedin parallel in the order of servers to which the attempt to access ismade, and wherein each of the first attempt and the second attempt isperformed by a user of the mobile terminal at a time different from oneanother.
 7. A system for downloading a resource in a mobile environment,the system comprising: a detector configured to detect a first attemptto access a first server and a second attempt to access a second serverfrom a mobile terminal; an executor configured to execute a first threadfor the first server and a second thread for a second server to whichthe attempt to access is made; and a downloader configured to download aresource of the first and second servers through the correspondingthread without a standby time by distributing resources of a networkbased on a multi-thread, and to unpack each of the resources that iscompressed based on a file unit, wherein the detector is configured todetect the second attempt while the downloader downloads the resourcefrom the first server through the first thread, wherein the first andsecond threads are executed in parallel in the order of servers to whichthe attempt to access is made, and wherein each of the first attempt andthe second attempt is performed by a user of the mobile terminal at atime different from one another.
 8. The system of claim 7, wherein thedownloader is further configured to: receive the compressed resource inresponse to a request to the corresponding server for the resource basedon the corresponding thread; and download the compressed resource. 9.The system of claim 8, wherein the downloader is further configured tounpack the compressed resource and record the unpacked resource in astorage device upon completing the download of the compressed resource.10. The system of claim 8, wherein the downloader is further configuredto download resources executed in each thread at different rates suchthat a thread completed with the download is entered into an idle state.11. The system of claim 8, further comprising: an uploader configured tocompress the resource based on the file unit, and uploading thecompressed resource to a corresponding server.